size(500,500);
background(255);
noStroke();
fill(0,0,0,50);
for (int x=0; x<500; x=x+50) {
  triangle(x,0,0,500-x,0,0);
}

